<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../print.css" type="text/css" media="print">
<meta content="LabelButton,jp.raohmaru.controls.LabelButton,downTextColor,enableTextColor,html,label,overTextColor,textColor,textField,textWordWrap,value,height,width" name="keywords">
<title>jp.raohmaru.controls.LabelButton</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'LabelButton - Raohmaru AS3 Framework';
				var baseRef = '../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">Raohmaru AS3 

Framework</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../index-list.html')" href="../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../index.html?jp/raohmaru/controls/LabelButton.html&amp;jp/raohmaru/controls/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;LabelButton</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#eventSummary">Events</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class LabelButton"); titleBar_setSubNav(false,true,false,false,true,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">jp.raohmaru.controls</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class LabelButton</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">LabelButton <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../images/inherit-arrow.gif"> <a href="Control.html">Control</a> <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../images/inherit-arrow.gif"> flash.events.EventDispatcher</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Subclasses</td><td><a href="../controls/CheckBox.html">CheckBox</a></td>
</tr>
</table>
<p></p>
 La clase LabelButton se utiliza como una clase de botón sencillo con una etiqueta de texto.
 <p></p>
<br>
<span class="label">Example</span>
<br><div class='listing'><pre>
import jp.raohmaru.controls.LabelButton;
var bot = new LabelButton(check_bot, "Comprobar");
bot.addEventListener(MouseEvent.MOUSE_UP, botHandler);

function botHandler(e : Event) : void
{
 trace(e.target.label);
}
</pre></div>
 <p></p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<div class="showHideLinks">
<div class="hideInheritedProperty" id="hideInheritedProperty">
<a onclick="javascript:setInheritedVisible(false,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Public Properties</a>
</div>
<div class="showInheritedProperty" id="showInheritedProperty">
<a onclick="javascript:setInheritedVisible(true,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Public Properties</a>
</div>
</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Control.html#alpha">alpha</a> : Number<div class="summaryTableDescription">
  Indica el valor de transparencia alfa del control.</div>
</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#downTextColor">downTextColor</a> : uint<div class="summaryTableDescription">
  El color del texto del campo de texto interno cuando se pulsa en el control, expresado en formato hexadecimal (por ejemplo, el color blanco es 0xFFFFFF).</div>
</td><td class="summaryTableOwnerCol">LabelButton</td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Control.html#enabled">enabled</a> : Boolean<div class="summaryTableDescription">
 Un valor booleano que especifica si está activado un control.</div>
</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#enableTextColor">enableTextColor</a> : Boolean<div class="summaryTableDescription">
  Valor que indica si el color del campo de texto debe cambiar como respuesta a los eventos de ratón.</div>
</td><td class="summaryTableOwnerCol">LabelButton</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#height">height</a> : Number<div class="summaryTableDescription">[write-only]
  Obtiene o define la altura del control, centrando verticalmente el campo de texto interno.</div>
</td><td class="summaryTableOwnerCol">LabelButton</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#html">html</a> : Boolean<div class="summaryTableDescription">
  Valor booleano que especifica si en el campo de texto interno se deben introducir las cadena de texto como código HTML.</div>
</td><td class="summaryTableOwnerCol">LabelButton</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#label">label</a> : String<div class="summaryTableDescription">
  Obtiene o define la etiqueta de texto del control.</div>
</td><td class="summaryTableOwnerCol">LabelButton</td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Control.html#movie">movie</a> : MovieClip<div class="summaryTableDescription">
  Obtiene el clip de película asociado al control.</div>
</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Control.html#name">name</a> : String<div class="summaryTableDescription">
  Define el nombre del control.</div>
</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#overTextColor">overTextColor</a> : uint<div class="summaryTableDescription">
  El color del texto del campo de texto interno cuando el cursor se situa encima del control, expresado en formato hexadecimal (por ejemplo, el color blanco es 0xFFFFFF).</div>
</td><td class="summaryTableOwnerCol">LabelButton</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#textColor">textColor</a> : uint<div class="summaryTableDescription">
 El color del texto del campo de texto interno, expresado en formato hexadecimal (por ejemplo, el color blanco es 0xFFFFFF).<br>
 Cuando se define, se define también la propiedad <code>overTextColor</code> con el mismo valor un poco más brillante, y la propiedad
 <code>downTextColor</code> con el mismo valor que <code>textColor</code>.</div>
</td><td class="summaryTableOwnerCol">LabelButton</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#textField">textField</a> : TextField<div class="summaryTableDescription">[read-only]
  Referencia al campo de texto interno del control.</div>
</td><td class="summaryTableOwnerCol">LabelButton</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#textWordWrap">textWordWrap</a> : Boolean<div class="summaryTableDescription">
  Valor booleano que indica si el campo de texto interno tiene ajuste de texto.</div>
</td><td class="summaryTableOwnerCol">LabelButton</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#value">value</a> : Object<div class="summaryTableDescription">
  Obtiene o define el objeto de datos asignado al control.</div>
</td><td class="summaryTableOwnerCol">LabelButton</td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Control.html#visible">visible</a> : Boolean<div class="summaryTableDescription">
 Indica si el control es visible.</div>
</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#width">width</a> : Number<div class="summaryTableDescription">[write-only]
  Obtiene o define el ancho del control, centrando horizontalmente el campo de texto interno.</div>
</td><td class="summaryTableOwnerCol">LabelButton</td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Control.html#x">x</a> : Number<div class="summaryTableDescription">
  Indica la coordenada <i>x</i> de la instancia de Control en relación a las coordenadas locales del DisplayObjectContainer principal.</div>
</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Control.html#y">y</a> : Number<div class="summaryTableDescription">
  Indica la coordenada <i>y</i> de la instancia de Control en relación a las coordenadas locales del DisplayObjectContainer principal.</div>
</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#LabelButton()">LabelButton</a>(movie:MovieClip, label:String = null, value:Object = null)</div>
<div class="summaryTableDescription">
  Crea una nueva instancia de la clase AbstractLabelButton.</div>
</td><td class="summaryTableOwnerCol">LabelButton</td>
</tr>
</table>
</div>
<a name="eventSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Events</div>
<div class="showHideLinks">
<div class="hideInheritedEvent" id="hideInheritedEvent">
<a onclick="javascript:setInheritedVisible(false,'Event');" href="#eventSummary" class="showHideLink"><img src="../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Events</a>
</div>
<div class="showInheritedEvent" id="showInheritedEvent">
<a onclick="javascript:setInheritedVisible(true,'Event');" href="#eventSummary" class="showHideLink"><img src="../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Events</a>
</div>
</div>
<table id="summaryTableEvent" class="summaryTable hideInheritedEvent" cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Event</th><th>Summary</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="hideInheritedEvent">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="Control.html#event:mouseDown">mouseDown</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
 Se distribuye cuando el usuario pulsa sobre una instancia de Control.</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
<tr class="hideInheritedEvent">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="Control.html#event:mouseOut">mouseOut</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
 Se distribuye cuando el usuario mueve el cursor hacia el exterior de una instancia de Control.</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
<tr class="hideInheritedEvent">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="Control.html#event:mouseOver">mouseOver</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
 Se distribuye cuando el usuario pasa el cursor por encima de una instancia de Control.</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
<tr class="hideInheritedEvent">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="Control.html#event:mouseUp">mouseUp</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
 Se distribuye cuando el usuario suelta el botón sobre una instancia de Control.</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="downTextColor"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">downTextColor</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>downTextColor:uint</code>&nbsp;&nbsp;[read-write]<p>
  El color del texto del campo de texto interno cuando se pulsa en el control, expresado en formato hexadecimal (por ejemplo, el color blanco es 0xFFFFFF).
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get downTextColor():uint</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set downTextColor(value:uint):void</code>
<br>
</div>
<a name="enableTextColor"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">enableTextColor</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>enableTextColor:Boolean</code>&nbsp;&nbsp;[read-write]<p>
  Valor que indica si el color del campo de texto debe cambiar como respuesta a los eventos de ratón.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get enableTextColor():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set enableTextColor(value:Boolean):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../controls/LabelButton.html#textColor" target="">textColor</a>
</div>
</div>
<a name="height"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">height</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>height:Number</code>&nbsp;&nbsp;[write-only]<p>
  Obtiene o define la altura del control, centrando verticalmente el campo de texto interno. Esta propiedad se actualiza al cambiar el texto de
  la etiqueta, adaptándose al alto de la misma.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set height(value:Number):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../controls/LabelButton.html#width" target="">width</a>
</div>
<br>
<span class="label">Example</span>
<br> <div class='listing'><pre>
 import jp.raohmaru.controls.LabelButton;
 var bot = new LabelButton(send_bot, "Enviar");
 bot.height = 50;</pre></div>
  <p></p>
</div>
<a name="html"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">html</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>html:Boolean</code>&nbsp;&nbsp;[read-write]<p>
  Valor booleano que especifica si en el campo de texto interno se deben introducir las cadena de texto como código HTML.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get html():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set html(value:Boolean):void</code>
<br>
</div>
<a name="label"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">label</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>label:String</code>&nbsp;&nbsp;[read-write]<p>
  Obtiene o define la etiqueta de texto del control. Las dimensiones del control se ajustan automáticamente a las de la caja de texto interna.
  </p><p>The default value is <code>"Label"</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get label():String</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set label(value:String):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../controls/LabelButton.html#textField" target="">textField</a>
</div>
</div>
<a name="overTextColor"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">overTextColor</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>overTextColor:uint</code>&nbsp;&nbsp;[read-write]<p>
  El color del texto del campo de texto interno cuando el cursor se situa encima del control, expresado en formato hexadecimal (por ejemplo, el color blanco es 0xFFFFFF).
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get overTextColor():uint</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set overTextColor(value:uint):void</code>
<br>
</div>
<a name="textColor"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">textColor</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>textColor:uint</code>&nbsp;&nbsp;[read-write]<p>
 El color del texto del campo de texto interno, expresado en formato hexadecimal (por ejemplo, el color blanco es 0xFFFFFF).<br>
 Cuando se define, se define también la propiedad <code>overTextColor</code> con el mismo valor un poco más brillante, y la propiedad
 <code>downTextColor</code> con el mismo valor que <code>textColor</code>.
 </p><p>The default value is <code>La propiedad TextField.textColor del campo de texto interno.</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get textColor():uint</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set textColor(value:uint):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">flash.text.TextField.textColor</div>
</div>
<a name="textField"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">textField</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>textField:TextField</code>&nbsp;&nbsp;[read-only]<p>
  Referencia al campo de texto interno del control.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get textField():TextField</code>
<br>
</div>
<a name="textWordWrap"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">textWordWrap</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>textWordWrap:Boolean</code>&nbsp;&nbsp;[read-write]<p>
  Valor booleano que indica si el campo de texto interno tiene ajuste de texto. Si se define como verdadero, el texto se dividirá en líneas si este
  excede el ancho de la caja de texto.
  </p><p>The default value is <code>false</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get textWordWrap():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set textWordWrap(value:Boolean):void</code>
<br>
<br>
<span class="label">Example</span>
<br> <div class='listing'><pre>
 import jp.raohmaru.controls.LabelButton;
 
 var bot = new LabelButton(cancel_bot);
 bot.textWordWrap = true;
 bot.width = 50;
 bot.label = "Cancelar todas las operaciones";</pre></div>
  <p></p>
</div>
<a name="value"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">value</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>value:Object</code>&nbsp;&nbsp;[read-write]<p>
  Obtiene o define el objeto de datos asignado al control.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get value():Object</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set value(value:Object):void</code>
<br>
<br>
<span class="label">Example</span>
<br> <div class='listing'><pre>
 import jp.raohmaru.controls.LabelButton;
 var bot1 = new LabelButton(case1_bot, "Math.PI", Math.PI);
  bot1.addEventListener(MouseEvent.MOUSE_UP, botHandler);
 var bot2 = new LabelButton(case2_bot, "Math.LN10", Math.LN10);
  bot2.addEventListener(MouseEvent.MOUSE_UP, botHandler);
  
 function botHandler(e : Event) : void
 {
  trace(e.target.value);
 }</pre></div>
  <p></p>
</div>
<a name="width"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">width</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>width:Number</code>&nbsp;&nbsp;[write-only]<p>
  Obtiene o define el ancho del control, centrando horizontalmente el campo de texto interno. Esta propiedad se actualiza al cambiar el texto de
  la etiqueta, adaptándose al ancho de la misma.
  Para que el texto se ajuste al ancho del campo, definir <code>textWordWrap</code> como verdadero.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set width(value:Number):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../controls/LabelButton.html#textWordWrap" target="">textWordWrap</a>
</div>
<br>
<span class="label">Example</span>
<br> <div class='listing'><pre>
 import jp.raohmaru.controls.LabelButton;
 var bot = new LabelButton(car_bot, "Coche de segunda mano");
 bot.width = 50;</pre></div>
  <p></p>
</div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="LabelButton()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">LabelButton</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function LabelButton(movie:MovieClip, label:String = null, value:Object = null)</code><p>
  Crea una nueva instancia de la clase AbstractLabelButton.
  </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">movie</span>:MovieClip</code> &mdash; Objeto MovieClip que es la representación gráfica del control
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">label</span>:String</code> (default = <code>null</code>)<code></code> &mdash; Etiqueta de texto del control
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">value</span>:Object</code> (default = <code>null</code>)<code></code> &mdash; El valor asignado al control
  </td>
</tr>
</table>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright">http://www.raohmaru.com</center>
</div>
</body>
</html>
<!--http://www.raohmaru.com-->
